Repository navigation
fix(fork): resolve upstream merge 4e6b1fa771 (2026-11-24) - #308
Merged
Merged
Conversation
Resolves the 10 conflicted files of commit A (5422d07) and the merge breaks: - Identify.ts takes upstream's version (pingdotgg#42299 drops Codex and Claude account ids from analytics). The Codex account-change restart (#29) keeps its auth.json reader in the fork-only file fork/codexAccount.ts. - AgentSessionScanner: the checkout cache check joins upstream's new isT3OwnedPath (pingdotgg#42036). - GitVcsDriver, storageCleanup, cli/thread: imports from both sides. - OpenCode: upstream's skillsMentioned(location, text) gets the text after the inline context (pingdotgg#42141). - Sidebar: upstream's triage-aware operate check, then the fork's display mode action. - Minimap: upstream's markdownPlainText preview (pingdotgg#42575), which already keeps single tildes. - AcpAdapterV2.test: upstream's startup phase checks and the fork's account checks. - settleAfterRun's new steer check (pingdotgg#42092) ignores FYI items, which are no user input; FyiSettle.test mocks turnItems and covers it. - AntigravityAdapterV2.test: new upstream test passes profileDirectory. - agentContextBudget.json: measured values. - fork/previewChrome.ts: full Chrome pin follows upstream's PreviewBrowser.VERSION 158.0.8127.88 (pingdotgg#42043), with the archive sizes and sha256 of that build. - fork/antigravityAccountEmail.ts: upstream's formatter output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
orbitingflea
force-pushed
the
catch-up/20261125
branch
from
November 25, 2026 05:31
b472b32 to
8957e56
Compare
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosNo All 64 scenario measurements
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Resolve 10 conflicted files and merge breaks from upstream
4e6b1fa771, 280 commits over forkmaineb8a539412. Commit A5422d07574holds the raw merge with conflict markers. Commit B8957e56d36keeps upstream structure so the diff shows only manual edits.Behaviour change
Behaviour change: no
Fork behaviour stays. Upstream behaviour arrives from commit A.
What changed
Commit B moves Codex helpers to
codexAccount.ts, guards FYI self-settle, updates the Chrome pin andagentContextBudget.json, and reformats one file. See the appendix.Scope
Only merge fixes over commit A are in scope. No suppression comments or fork UI text changed. Merge and deploy follow review.
Tradeoffs
Keeping Codex helpers in
CodexAdapterV2.tsavoids a new file, yet adds about 35 fork lines to an upstream file.Blast Radius
This PR adds no migrations. Commit A adds five in
apps/server/src/persistence/Migrations/:112_LayoutCommandApprovals.ts,113_WorkflowSkippedRuns.ts,114_WorkflowRunIndexes.ts,115_WorkflowRunTags.ts, and116_ForkHistoryMembership.ts. CI's Agent context budget job fails on commit A's conflict markers.Verification
Checks ran on
8957e56d36.fmt,lint,knip, focused suites, andpreviewChrome.test.tspassed.Per-file changes
In
apps/server/src/:telemetry/Identify.tsandfork/codexAccount.ts. Upstream fix(server): analytics no longer reads or sends Codex and Claude account IDs pingdotgg/t3code#42299 removed analytics id reads,CodexAuthJsonSchema, andopenAiUserId. Takes upstreamIdentify.tsand moves theauth.jsonschema,id_tokendecode, andreadCodexAccounttocodexAccount.tsunchanged.CodexAdapterV2.tsimports it and drops about 20 fork lines.project/AgentSessionScanner.ts.isCheckoutCachePathjoins upstream fix(server): session import no longer offers T3 sandbox chats behind a symlinked base or a Codex project pingdotgg/t3code#42036'sisT3OwnedPathfor configured and real-path checks.vcs/GitVcsDriver.ts,storageCleanup.ts, andcli/thread.ts. Import conflicts keep both sides.GitVcsDriver.tsdropsCheckoutClonerand removedcheckpointUntrackedBlobs.orchestration-v2/Adapters/AcpAdapterV2.test.tsandAntigravityAdapterV2.test.ts. Keeps startup phase and account-change assertions, and passes requiredprofileDirectoryin the new upstream test.orchestration-v2/ThreadManagementService.tsandfork/fyi/FyiSettle.test.ts. Upstream fix(server): a message steered in after a self-settle request keeps the thread open pingdotgg/t3code#42092 skips self-settle after steered reads. Fork FYIs usesteerintent, so one guard ignoresfyiitems.FyiSettle.test.tsmocksturnItemsand tests late-FYI settle, red before and green after.provider/agentContextBudget.json. Set to 5945, 7339, and 67550, up from 67345 for upstream tools.AgentContextBudget.test.tspassed 2 of 2.fork/antigravityAccountEmail/antigravityAccountEmail.ts. Reformatted one signature for upstream's formatter, with no code change.fork/previewChrome.ts. Upstream fix(server): preview browser downloads Chrome 158.0.8127.88 with its security fix pingdotgg/t3code#42043 movedPreviewBrowser.VERSIONto Chrome158.0.8127.88for a security fix. Full Chrome mode shares that user agent, so the pin moves from158.0.8127.36with measured sizes and sha256 for officiallinux64,linux-arm64,win32, andwin64zips.previewChrome.test.tspasses.Other files:
packages/provider-opencode/src/server/v2/adapter.ts. Upstream fix(server): OpenCode steers keep their $skill mentions pingdotgg/t3code#42141 moved parsing toskillsMentioned(location, text). Passes post-handoff text so those mentions are not turn skills.apps/web/src/components/Sidebar.tsxandchat/timelineMinimapItems.ts. Upstream's triage operate check precedes the fork display mode action. Minimap takes upstream fix(web): timeline minimap previews no longer cut an emoji in half pingdotgg/t3code#42575 emoji-safemarkdownPlainTextcuts where single-tilde already lives.ThreadManagementService112 in 12, OpenCode 310 in 17, web 142 unit, 16 browser, and 39 display mode. Commit A adds116_ForkHistoryMembership.test.ts. Priorcheck:changedpassed lint, knip, GraphQL, typecheck, and React Compiler. Format failed onantigravityAccountEmail.ts, now fixed. Tests passed 7923 of 7933 with 5 failures:previewChrome.test.ts, now fixed, twoChatView.browser.test.tsxand onetimelineReaderLine.browser.test.tsxtests that fail under load and pass alone at 34 of 34, andGitVcsDriverCore.test.tsutf16leroot-conflict merge, which also times out at 120 s on upstream4e6b1fa771.